package _98综合练习;

import java.io.Serializable;


// Serializable 接口没有方法
// 标志接口

public class Student implements Serializable{
	
	/**
	 * 版本编号
	 */
	private static final long serialVersionUID = 1L;
	
	
	int id;
	String name;
	int score;
	
	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", score=" + score + "]";
	}
	

	public Student(int id, String name, int score) {
		super();
		this.id = id;
		this.name = name;
		this.score = score;
	}


	public int getId()
	{
		return id;
	}
	public String getName()
	{
		return name;
	}
	public int getScore()
	{
		return score;
	}
	public Student() {
		super();
		// TODO Auto-generated constructor stub
	}

	
	
}